﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
namespace Socket服务器
{
   public  class ServerConfig
    {
        /// <summary>
        /// 服务器IP地址
        /// </summary>
        public IPAddress ServerIP { set; get; }

        /// <summary>
        /// 服务器端口号
        /// </summary>
        public int ServerPort { set; get; }

        /// <summary>
        /// 设备超时时间
        /// </summary>
        public int   DeviceCount{ set; get; }

        /// <summary>
        /// 服务器名称
        /// </summary>
        public string ServerName { set; get; }

        /// <summary>
        /// 当前端口允许最大设备数量
        /// </summary>
        public int CapaCity { set; get; }
    }
}
